<!-- 新建对话框 -->
<el-dialog
        :title="dialogTitle"
        :visible.sync="dialogVisible"
        width="66%"
        :close-on-click-modal="false"
        :before-close="handleClose">
  <el-form label-width="100px"

           ref="submitDialogFormRef"
           :model="formData"
           :rules="rules"
  >
    <el-row :gutter="20">
      <el-col :span="8">

        <el-form-item label="微服务" prop="sysinfoMicroId">
              <el-select v-model="formData.sysinfoMicroId" placeholder="请选择微服务" >
                <el-option
                        v-for="item in dictinfo.micro0.list"
                        :key="item.id"
                        :label="item.name"
                        :value="item.id"
                >
                </el-option>
              </el-select>
        </el-form-item>
      </el-col>
      <el-col :span="8">
        <el-form-item label="字典类型" prop="typeDictId">
              <el-select v-model="formData.typeDictId" placeholder="字典类型" >
                <el-option
                        v-for="item in dictinfo.dict_type0.list"
                        :key="item.id"
                        :label="item.name"
                        :value="item.id">
                </el-option>
              </el-select>
        </el-form-item>
      </el-col>
      <el-col :span="8">
              <el-form-item label="类型代码" prop="dictTypeCode">
                  <el-input v-model="formData.type" :readonly="true"></el-input>
                </el-form-item>
      </el-col>
    </el-row>

      <el-form-item label="名称" prop="name">
          <el-input v-model.trim="formData.name" placeholder="名称" clearable ></el-input>
      </el-form-item>

      <el-form-item label="编码" prop="code">
          <el-input v-model.trim="formData.code" placeholder="编码" clearable></el-input>
      </el-form-item>




    </el-form>


  <span slot="footer" class="dialog-footer">
        <el-button @click="handleClose">取 消</el-button>
        <el-button v-show="showBtnDialogFormSubmit" type="primary" @click="dialogFormSubmit">确 定</el-button>
    </span>

</el-dialog>